package fregat.usb.application.context;

import org.apache.commons.cli.ParseException;

import fregat.application.context.IApplicationContext;
import fregat.application.context.arguments.IApplicationArguments;
import fregat.base.util.Logger;
import fregat.usb.application.context.arguments.ApplicationArguments;

public class ApplicationContext implements IApplicationContext {
	IApplicationArguments args;
	public ApplicationContext(String [] args_) {
		try {
			args = new ApplicationArguments (args_);
		} catch (ParseException e) {
			// TODO Auto-generated catch block
			Logger.getCategory("usb").error("", e);
		}
	}
	
	public IApplicationArguments getApplicationArguments () {
		return args;
	};
}
